@import "../../component/header/header.scss";
@import "../../component/footer/footer.scss";
@import "../../component/m-banner/m-banner.scss";
@import "../../component/title/title.scss";
@import "../../component/no-data/no-data.scss";
@import "../../component/product-item/product-item.scss";
@import '../../component/login/login.scss';

.tab-btn {
    margin-top: 30px;
    text-align: center;
    margin-bottom: 40px;
    ul {
        li {
            display: inline-block;
            &.active a {
                color: white;
                background-color: $blue;
            }
            a {
                width: 60px;
                height: 24px;
                line-height: 24px;
                border-radius: 4px;
                color: $blue;
                text-align: center;
                display: inline-block;
                margin: 0 10px;
                &:hover {
                    color: white;
                    background-color: $blue;
                }
            }
        }
    }
}

.tab-item {
    display: none;
    &.active {
        display: block;
    }
    ul {
        li {
            padding: 20px 0;
            padding-left: 34px;
            position: relative;
            transition: 0.3s;
            height: 180px;
            box-sizing: border-box;
            &:before {
                content: "";
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background-color: $blue;
                position: absolute;
                top: 50%;
                left: 35px;
                transform: translate3d(-50%, -50%, 0);
            }
            &:hover {
                box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
                .time {
                    border-left: 2px solid transparent;
                }
            }
            .time {
                transition: 0.3s;
                border-left: 2px solid $blue;
                height: 180px;
                box-sizing: border-box;
                margin-top: -20px;
                text-align: center;
                width: 210px;
                float: left;
                padding-top: 54px;
                p:nth-of-type(1) {
                    color: $l-word;
                    margin-bottom: 14px;
                }
                p:nth-of-type(2) {
                    color: $orange;
                    font-size: 20px;
                    margin-bottom: 10px;
                }
                p:nth-of-type(3) {
                    color: $orange;
                }
            }
            .list-img {
                float: left;
                img {
                    width: 220px;
                    height: 140px;
                }
            }
            .info {
                width: 340px;
                margin-left: 18px;
                padding-top: 16px;
                float: left;
                p:nth-of-type(1) {
                    font-size: 18px;
                    color: $l-word;
                    white-space: nowrap;
                    margin-bottom: 30px;
                }
                p:nth-of-type(n + 2) {
                    color: $s-word;
                    margin: 10px 0;
                    span {
                        color: $blue;
                    }
                }
                p:last-of-type {
                    span {
                        color: $orange;
                    }
                }
            }
            .num {
                float: left;
                padding-top: 50px;
                text-align: center;
                p:nth-of-type(1) {
                    color: $orange;
                    font-size: 20px;
                    margin-bottom: 6px;
                }
                p:nth-of-type(2) {
                    color: $l-word;
                }
            }
            .list-btn {
                float: left;
                padding-top: 38px;
                margin-left: 210px;
                a {
                    @include btn(80,24);
                    display: block;
                    margin-bottom: 20px;
                    font-size: 12px;
                    &:nth-of-type(2) {
                        background-color: $orange;
                    }
                }
            }
        }
    }
}

.history {
    margin-bottom: 40px;
    li:not(:nth-of-type(5n)) {
        margin-right: 25px;
        margin-bottom: 20px;
    }
}
